package org.lztvn.elearning.service;

import java.util.List;

import org.lztvn.elearning.entities.Product;

public interface ICourseService {
	public Long addCourse(Product c);

	public void deleteCourse(Long idCors);

	public void modifierCourse(Product c);

	public List<Product> listCourse();
	
	public List<Product> listCourseInHome();
	
	public Product getCourse(Long idCors);
	
	public List<Product> listCourseByUserId(Long idUser, int position, int nb_course);
	
	public Long getNbCourseByUserId(Long idUser);
	
	public List<Product> listCourseByLevel(Integer level);
}
